package com.ecut.property_project.mapper.room;

import com.ecut.property_project.model.room.RoomPurpose;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomPurposeMapper {
    int deleteByPrimaryKey(Integer purposeId);

    int insert(RoomPurpose record);

    int insertSelective(RoomPurpose record);
    List<RoomPurpose> selectAll();

    List<RoomPurpose> selectByPage(Integer page, Integer pageSize);

    RoomPurpose selectByPrimaryKey(Integer purposeId);

    List<RoomPurpose> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(RoomPurpose record);

    int updateByPrimaryKey(RoomPurpose record);
}